//
//  UINavigationController+ScreenRotate.m
//  ScreenRotateVC
//
//  Created by Liusr on 2017/6/6.
//  Copyright © 2017年 liu. All rights reserved.
//

#import "UINavigationController+ScreenRotate.h"

@implementation UINavigationController (ScreenRotate)
-(BOOL)shouldAutorotate{
    return self.topViewController.shouldAutorotate;
}
-(UIInterfaceOrientationMask)supportedInterfaceOrientations{
    return self.topViewController.supportedInterfaceOrientations;
}

@end
